<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>sd2sci</title>
  </head>
  <body bgcolor="#FFFFFF">
    <center>Scilab Function</center>
    <div align="right">Last update : 16/12/2004</div>
    <p>
      <b>sd2sci</b> - <tt>
        <b>gr_menu</b>
      </tt> structure to scilab instruction convertor</p>
    <h3>
      <font color="blue">Calling Sequence</font>
    </h3>
    <dl>
      <dd>
        <tt>txt=sd2sci(sd [,sz [,orig]])  </tt>
      </dd>
    </dl>
    <h3>
      <font color="blue">Parameters</font>
    </h3>
    <ul>
      <li>
        <tt>
          <b>sd</b>
        </tt>: data structure build by gr_menu.</li>
      <li>
        <tt>
          <b>sz</b>
        </tt>: vector of number or strings with two components, give the x and y zoom factors</li>
      <li>
        <tt>
          <b>orig</b>
        </tt>: vector of number or strings with two components, give the origin translation vector</li>
    </ul>
    <h3>
      <font color="blue">Description</font>
    </h3>
    <p>
    given a <tt>
        <b>sd</b>
      </tt> data structure generated by <tt>
        <b>gr_menu</b>
      </tt>
      <tt>
        <b>sd2sci</b>
      </tt> forms a vector of  scilab instructions corresponding to
    the graphic edited by <tt>
        <b>gr_menu</b>
      </tt>.</p>
    <p>
    The optional parameters <tt>
        <b>sz</b>
      </tt> and <tt>
        <b>orig</b>
      </tt>  allows to zoom and
    shift the initial graphic.</p>
    <p>
    If <tt>
        <b>sz</b>
      </tt> or <tt>
        <b>orig</b>
      </tt> are given by strings generated instructions
    are relative use then as formal expressions.</p>
    <h3>
      <font color="blue">See Also</font>
    </h3>
    <p>
      <a href="gr_menu.htm">
        <tt>
          <b>gr_menu</b>
        </tt>
      </a>,&nbsp;&nbsp;<a href="../programming/execstr.htm">
        <tt>
          <b>execstr</b>
        </tt>
      </a>,&nbsp;&nbsp;</p>
    <h3>
      <font color="blue">Author</font>
    </h3>
    <p>Serge Steer INRIA 1988</p>
  </body>
</html>
